//挂在全局对象
import { message, notification } from 'ant-design-vue';
import 'ant-design-vue/es/message/style/css.js';
import 'ant-design-vue/es/notification/style/css.js';
import HelloWorld from '../components/HelloWorld.vue';

console.log("loading Ant-Design .....")

export default {
    install(app) {
        console.log("message notification global .....")
        app.config.globalProperties.$msg = message
        app.config.globalProperties.$notice = notification

        //全局组件注册
        app.component('HelloWorld', HelloWorld)
    }
}